home *** CD-ROM | disk | FTP | other *** search
- Short: Library to play THX and THX2 modules
- Author: Dexter/Abyss, Kyzer/CSG
- Uploader: Kyzer/CSG <kyzer@4u.net>
- Type: dev/misc
- Replaces: dev/e/PlayTHX.lha
-
- NOTE: This archive is for developers, if you just want the library
- and a player, get mus/play/PlayTHX.lha instead.
-
-
- This is a lovely interface to the replayer binary of THX2.
- - use generic 68000 version or 68020 optimised version.
- - use either shared library, C linklibrary, or E module.
- - comes with full autodocs and development materials.
-
- Changes since previous release:
- - fixed internal documentation.
- - C pragma/protos/linklibrary etc.
- - now uses different conditionals in the source.
- - shared lib now checks for 020 processor.
- - patched some player bugs (yes, Dexter has already been informed)
- - removed the 3rd result of thxPlaytime(), as it annoys C users.
- - seperated from PlayTHX archive.
-
- Functions in the interface:
- thxInit -- initialise player and module.
- thxFree -- free resources held by player.
-
- thxPlay -- start playing the song.
- thxPause -- pause play of a song.
- thxStop -- stop playing a song/module.
- thxWind -- wind the song forward or back.
-
- thxGetNumSongs -- get number of subsongs.
- thxSetSong -- set song to be played.
-
- thxGetVolume -- get master volume.
- thxSetVolume -- set master volume.
-
- thxPlayNote -- start playing a user-specified note.
- thxStopNote -- stop playing user-specified note.
- thxNoteFX -- perform FX command on user-specified note.
-
- thxSyncByte -- get sync byte value.
- thxSignalEnd -- Signal() when song ends.
- thxSongEnded -- detect if song has ended.
- thxPlaytime -- get current playtime of song.
-